home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / MZLIR7 (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  1.3 KB  |  45 lines

  1. package java.beans;
  2.  
  3. import java.applet.Applet;
  4. import java.applet.AppletContext;
  5. import java.applet.AppletStub;
  6. import java.net.URL;
  7.  
  8. class BeansAppletStub implements AppletStub {
  9.    transient boolean active;
  10.    transient Applet target;
  11.    transient AppletContext context;
  12.    transient URL codeBase;
  13.    transient URL docBase;
  14.  
  15.    BeansAppletStub(Applet target, AppletContext context, URL codeBase, URL docBase) {
  16.       this.target = target;
  17.       this.context = context;
  18.       this.codeBase = codeBase;
  19.       this.docBase = docBase;
  20.    }
  21.  
  22.    public void appletResize(int width, int height) {
  23.    }
  24.  
  25.    public AppletContext getAppletContext() {
  26.       return this.context;
  27.    }
  28.  
  29.    public URL getCodeBase() {
  30.       return this.codeBase;
  31.    }
  32.  
  33.    public URL getDocumentBase() {
  34.       return this.docBase;
  35.    }
  36.  
  37.    public String getParameter(String name) {
  38.       return null;
  39.    }
  40.  
  41.    public boolean isActive() {
  42.       return this.active;
  43.    }
  44. }
  45.